package com.chengh.nami.system.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author chengh
 * 角色菜单中间表实体类
 */
@Getter
@Setter
@ToString(callSuper = true)
@TableName("sys_role_menu")
@Schema(name = "SysRoleMenu对象", description = "角色菜单中间表")
public class SysRoleMenu {

    @Schema(name = "id", description = "ID")
    private Long id;

    @Schema(name = "roleId", description = "角色ID")
    private Long roleId;

    @Schema(name = "menuId", description = "菜单ID")
    private Long menuId;
}
